<?php

namespace app\api\model;

use think\Model;

class CouponVip extends Model
{
    public static function getUserVips($coupon_id)
    {
        return self::where('coupon_id', $coupon_id)->column('user_vip_id');
    }
}
